b3f4f69ed94f0ebefb1901df9dd8c2f087e8f8b7,adal/src/main/java/com/microsoft/aad/adal/AuthenticationContext.java,AuthenticationContext,acquireTokenSilent,#String#String#String#AuthenticationCallback#,654
Before Change
throw new IllegalArgumentException("clientId");
}
final APIEvent apiEvent = new APIEvent(EventStrings.API_EVENT, mContext, clientId);
final String requestId = Telemetry.registerNewRequest();
apiEvent.setRequestId(requestId);
apiEvent.setIsDeprecated(true);
apiEvent.setAPIId(EventStrings.ACQUIRE_TOKEN_SILENT);
apiEvent.setAuthority(getAuthority());
apiEvent.setSilentRequestPromptBehavior(PromptBehavior.Auto.toString());
Telemetry.getInstance().startEvent(requestId, apiEvent.getEventName());
final AuthenticationRequest request = new AuthenticationRequest(mAuthority, resource,
clientId, userId, getRequestCorrelationId(), getExtendedLifetimeEnabled());
After Change
throw new IllegalArgumentException("clientId");
}
final String requestId = Telemetry.registerNewRequest();
final APIEvent apiEvent = createApiEvent(mContext, clientId, requestId, EventStrings.ACQUIRE_TOKEN_SILENT);
apiEvent.setSilentRequestPromptBehavior(PromptBehavior.Auto.toString());
apiEvent.setIsDeprecated(true);
final AuthenticationRequest request = new AuthenticationRequest(mAuthority, resource,